Skip to content

Conversation

@0ax1
Copy link
Contributor

@0ax1 0ax1 commented Dec 18, 2025

No description provided.

@0ax1 0ax1 requested a review from joseph-isaacs December 18, 2025 16:42
@0ax1 0ax1 added the performance Release label indicating an improvement to performance label Dec 18, 2025
@0ax1 0ax1 force-pushed the ad/list-contains branch 2 times, most recently from 7698e3c to 7155099 Compare December 18, 2025 16:45
Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
Comment on lines +340 to +341
list: &ListViewScalar,
needle: &vortex_vector::Scalar,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this method be in vortex-compute?

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 0% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.83%. Comparing base (fb976a1) to head (e30d39c).
⚠️ Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
vortex-array/src/expr/exprs/list_contains.rs 0.00% 29 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

})
} else {
// Fallback for non-primitive vectors
(0..elements.len()).any(|i| needle == &elements.scalar_at(i))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use a array compare here with the elements and a constant array?

Copy link
Contributor

@joseph-isaacs joseph-isaacs Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't need to special case anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Release label indicating an improvement to performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants